<?php

/**
 * Template for small div that appears
 * after the tutor is successfully saved
 * it has link to user's tutor
 *
 */
class tplTutorSuccess extends StudyBuddy\Template\Template
{
	protected static $vars = array(
	'h3' => '', //1
	'url' => '', //2
	'text' => '', //3
	'amount' => '' //4
	);


	protected static $tpl = '
            <div id="tools">
                <h3>%1$s</h3>
                <p><a href="%2$s">%3$s</a></p>
                <form name="_xclick" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
                    <input type="hidden" name="cmd" value="_xclick" />
                    <input type="hidden" name="business" value="dungtv@ic-t.info" />
                    <input type="hidden" name="currency_code" value="USD" />
                    <input type="hidden" name="item_name" value="Tutor paypal" />
                    <input type="hidden" name="item_number" value="1" />
                    <input type="hidden" name="amount" value="%4$s" />
                    <input type="hidden" name="custom" value="" />
                    <input type="hidden" name="return" value="http://local.studybuddy.com.sg/paypal.php" />
                    <input type="hidden" name="notify_url" value="http://local.studybuddy.com.sg/ipn.php" />
                    <input type="image" src="http://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it\'s fast, free and secure!" />
                </form>
            </div>';
}
